<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-sned-edit" >
		<input id="id" name="id"th:value="${sned.id}"  type="hidden">
			<div class="form-group">
			<label class="col-sm-3 control-label">作业任务号：</label>
			<div class="col-sm-8">
				<input id="snid" name="snid"th:value="${sned.snid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">作业人uid：</label>
			<div class="col-sm-8">
				<input id="uid" name="uid"th:value="${sned.uid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">交作业ip：</label>
			<div class="col-sm-8">
				<input id="snip" name="snip"th:value="${sned.snip}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">提交时间：</label>
			<div class="col-sm-8">
				<input id="sntime"  name="sntime"th:value="${sned.sntime}" class="form-control time-input" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">交作业状态：-1未交，0正常，否则为迟交分钟数：</label>
			<div class="col-sm-8">
				<input id="status" name="status"th:value="${sned.status}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">作业内容：</label>
			<div class="col-sm-8">
				<input id="content" name="content"th:value="${sned.content}" class="form-control" type="text">
			</div>
		</div>
		</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
	var prefix = ctx + "job/sned";
	$("#form-sned-edit").validate({
		onkeyup: false,
		rules:{
			xxxx:{
				required:true,
			},
		}
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/editDo", $('#form-sned-edit').serialize());
		}
	}
</script>
</body>
</html>
